feat(prose): DLT-3245 new component#1169
Draft
Francis Rupert (francisrupert) wants to merge 15 commits intonextfrom
Draft
feat(prose): DLT-3245 new component#1169Francis Rupert (francisrupert) wants to merge 15 commits intonextfrom
Francis Rupert (francisrupert) wants to merge 15 commits intonextfrom
Conversation
Contributor
|
Please add either the |
Contributor
|
✔️ Deploy previews ready! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🛠️ Type Of Change
📖 Jira Ticket
DLT-3245
📖 Description
Add
DtProse, a new container component that solely styles raw HTML to styled content. It can be thought of as a scoped CSS reset with opinionated style defaults, restoring the margins, list styles, heading sizes, and block-level formatting that the Dialtone reset strips away.@layer dialtone.componentscontainersizeprop (100, 200, 300) to shift scale of typography and spacing proportionallydensityprop (100, 200, 300) controls line-height independently from size--prose-*) enable consumer overrides without writing selectors📦 Cross-Package Impact
prose.lesswith.d-proseclass, size/density modifiersDtProsecomponent withsize/densityprops, content validation, unit testsvariants_prose.jswith 11 element-specific presets📝 Checklist
For all PRs:
For all Vue changes:
For all CSS changes:
If new component:
packages/dialtone-vue).packages/dialtone-csspackage.apps/dialtone-documentation.common/components_list.jsprose.mp4